0eb97be6280aca68c290deaba91e93ca3279264d,platform/util/src/com/intellij/util/io/IntToIntBtree.java,BtreeIndexNodeView,insertToRightSibling,#BtreeIndexNodeView#number#BtreeIndexNodeView#,663
Before Change
parent.dump("parent before");
}
int lastChildIndex = getChildrenCount() - 1;
sibling.insert(keyAt(lastChildIndex), addressAt(lastChildIndex));
if (doSanityCheck) {
sibling.dump("Right sibling after");
After Change
parent.dump("parent before");
}
int childrenCount = getChildrenCount();
int lastChildIndex = childrenCount - toMove;
for(int i = lastChildIndex; i < childrenCount; ++i) sibling.insert(keyAt(i), addressAt(i));
if (doSanityCheck) {
sibling.dump("Right sibling after");
}